package com.gdhz.xiaohengqin.reservation.service;

import com.gdhz.xiaohengqin.reservation.model.CheckResponse;
import com.gdhz.xiaohengqin.reservation.model.ReservationRecordResponse;
import com.gdhz.xiaohengqin.reservation.model.TeleOneResponse;
import com.gdhz.xiaohengqin.reservation.model.entity.ReservationRecord;
import com.gdhz.xiaohengqin.reservation.model.vo.ReservationRecordVo;
import reactor.core.publisher.Mono;

/**
 * @author Swallows
 * @date 2025-05-29 09:37
 */
public interface ReservationRecordService {

    /**
     * 二维码核验
     *
     * @param qrCode 二维码地址
     * @return 核验结果
     */
    Mono<ReservationRecordResponse> verifyByQrCode(String qrCode, String token);

    Mono<CheckResponse> verifyById(String id);

    Mono<Boolean> hasExist(String url);

    Mono<Boolean> saveOrUpdate(ReservationRecord reservationRecord);
}
